package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 单选题库对象 t_singlesel
 * 
 * @author ruoyi
 * @date 2020-05-09
 */
public class TSinglesel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题目id */
    private Integer singleselId;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Integer userId;

    /** 题目内容 */
    @Excel(name = "题目内容")
    private String singleQuestion;

    /** 参考答案 string类型 大写如  "A" */
    @Excel(name = "参考答案 如:A")
    private String singleAnswer;

    /** 答案分析 */
    @Excel(name = "答案分析")
    private String singleAnalyze;

    /** 题目分值 */
    @Excel(name = "题目分值")
    private Double singleScore;
    /** 科目名称 */
    @Excel(name = "科目名称")
    private String courseName;

    /** 科目id */
    @Excel(name = "科目id")
    private Integer courseId;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public void setSingleselId(Integer singleselId)
    {
        this.singleselId = singleselId;
    }

    public Integer getSingleselId() 
    {
        return singleselId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setSingleQuestion(String singleQuestion) 
    {
        this.singleQuestion = singleQuestion;
    }

    public String getSingleQuestion() 
    {
        return singleQuestion;
    }
    public void setSingleAnswer(String singleAnswer) 
    {
        this.singleAnswer = singleAnswer;
    }

    public String getSingleAnswer() 
    {
        return singleAnswer;
    }
    public void setSingleAnalyze(String singleAnalyze) 
    {
        this.singleAnalyze = singleAnalyze;
    }

    public String getSingleAnalyze() 
    {
        return singleAnalyze;
    }
    public void setSingleScore(Double singleScore) 
    {
        this.singleScore = singleScore;
    }

    public Double getSingleScore() 
    {
        return singleScore;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("singleselId", getSingleselId())
            .append("userId", getUserId())
            .append("courseName", getCourseName())
            .append("singleQuestion", getSingleQuestion())
            .append("singleAnswer", getSingleAnswer())
            .append("singleAnalyze", getSingleAnalyze())
            .append("singleScore", getSingleScore())
            .append("createTime", getCreateTime())
                .append("courseId", getCourseId())
            .toString();
    }
}
